|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjp.co.ricoh.dsdk.scard.framework.util.DebugTrace
This is an utility class for debugging.
This class prints out debug messages to the PrintStream according to the debug level.
The default debug level is 0, and the default PrintStream is System.out.
If the debug level is 3 or larger, SCF prints the following debug messages to the PrintStream.
・The name of the card reader and the ATR of the card.(When a card inserted)
・The name of the card reader.(When the card removed))
If the debug level is 5 or larger, SCF prints the information about the initialization of eace CardService to the PrintStream.
If the debug level is 10 or larger, SCF prints all APDUs sent and received to the PrintStream.
| Constructor Summary | |
DebugTrace()
|
|
| Method Summary | |
static int |
getLevel()
Returns the debug level. |
static java.io.PrintStream |
getOut()
Returns the PrintStream. |
static void |
print(int level,
boolean b)
Prints a boolean value to the PrintStream. |
static void |
print(int level,
char c)
Prints a character to the PrintStream. |
static void |
print(int level,
char[] s)
Prints a character array to the PrintStream. |
static void |
print(int level,
double d)
Prints a double value to the PrintStream. |
static void |
print(int level,
float f)
Prints a float value to the PrintStream. |
static void |
print(int level,
int i)
Prints an int value to the PrintStream. |
static void |
print(int level,
long l)
Prints a long value to the PrintStream. |
static void |
print(int level,
java.lang.Object obj)
Prints an Object to the PrintStream. |
static void |
print(int level,
java.lang.String s)
Prints a String to the PrintStream. |
static void |
println(int level,
boolean b)
Prints a boolean value and a line termination sequence to the PrintStream. |
static void |
println(int level,
char c)
Prints a character and a line termination sequence to the PrintStream. |
static void |
println(int level,
char[] s)
Prints a character array and a line termination sequence to the PrintStream. |
static void |
println(int level,
double d)
Prints a double value and a line termination sequence to the PrintStream. |
static void |
println(int level,
float f)
Prints a float value and a line termination sequence to the PrintStream. |
static void |
println(int level,
int i)
Prints an int value and a line termination sequence to the PrintStream. |
static void |
println(int level,
long l)
Prints a long value and a line termination sequence to the PrintStream. |
static void |
println(int level,
java.lang.Object obj)
Prints an Object and a line termination sequence to the PrintStream. |
static void |
println(int level,
java.lang.String s)
Prints a String and a line termination sequence to the PrintStream. |
static void |
printStackTrace(int level,
java.lang.Throwable e)
Prints a Throwable object and its backtrace to the PrintStream. |
static void |
setLevel(int level)
Sets the debug level. |
static void |
setOut(java.io.PrintStream out)
Sets the PrintStream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DebugTrace()
| Method Detail |
public static int getLevel()
public static void setLevel(int level)
level -
the debug level.public static java.io.PrintStream getOut()
public static void setOut(java.io.PrintStream out)
out -
the PrintStream.
public static void print(int level,
boolean b)
level -
the debug level of this debug message.b -
a boolean value.
public static void print(int level,
char c)
level -
the debug level of this debug message.c -
a character.
public static void print(int level,
char[] s)
level -
the debug level of this debug message.s -
a character array.
public static void print(int level,
double d)
level -
the debug level of this debug message.d -
a double value.
public static void print(int level,
float f)
level -
the debug level of this debug message.f -
a float value.
public static void print(int level,
int i)
level -
the debug level.i -
an int value.
public static void print(int level,
long l)
level -
the debug level of this debug message.l -
a long value.
public static void print(int level,
java.lang.Object obj)
level -
the debug level of this debug message.obj -
an Object.
public static void print(int level,
java.lang.String s)
level -
the level of this debug message.s -
a String.
public static void println(int level,
boolean b)
level -
the debug level of this debug message.b -
a boolean value.
public static void println(int level,
char c)
level -
the debug level of this debug message.c -
a character.
public static void println(int level,
char[] s)
level -
the debug level of this debug message.s -
a character array.
public static void println(int level,
double d)
level -
the debug level of this debug message.d -
a double value.
public static void println(int level,
float f)
level -
the debug level of this debug message.f -
a float value.
public static void println(int level,
int i)
level -
the debug level.i -
an int value.
public static void println(int level,
long l)
level -
the debug level.l -
a long value.
public static void println(int level,
java.lang.Object obj)
level -
the debug level.obj -
an Object.
public static void println(int level,
java.lang.String s)
level -
the debug level.s -
a String.
public static void printStackTrace(int level,
java.lang.Throwable e)
level -
the debug level.e -
a Throwable object.
|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||